import { $songCategoryListTree } from "@/apis/piano/songCategory/songCategory";
import { $songAdd, $songCheckList, $songDelete, $songDetail, $songList, $songUpdate } from "@/apis/piano/songList/songList";
import { songAddInterface, songCheckListInterface, songListInterface, songUpdateInterface } from "@/apis/piano/songList/songList.interface";
import { tableServiceInterface } from "@/common/interface/table.interface";
export default class songListService implements tableServiceInterface {
  async getTable(e: songListInterface): Promise<any> {
    return $songList(e);
  }
  deleteMultiple(e: Array<string>): Promise<any> {
    console.log(e);
    return $songDelete(e);
  }
  edit(e: songUpdateInterface): Promise<any> {
    return $songUpdate(e);
  }
  add(e: songAddInterface): Promise<any> {
    return $songAdd(e);
  }
  detail(e: string): Promise<any> {
    return $songDetail(e);
  }
  CheckList(e: songCheckListInterface): Promise<any> {
    return $songCheckList(e);
  }
  tree(): Promise<any> {
    return $songCategoryListTree();
  }
}